28_Copy a file.py.py


Sign up Free. Don't forget to check out our challenges, lessons, solve and learn series and more ...


Code Snippet

#copy the contents of a file to another file

from shutil import copyfile
copyfile('test.py', 'abc.py')
                    

Try it yourself